#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Indexes;
using Cephei.QL.Times;
using Cephei.QL.Termstructures;
namespace Cephei.QL.Cashflows
{
     // <summary> 
	// ! \warning This class does not perform any date adjustment, i.e., the start and end date passed upon construction should be already rolled to a business day.
	// </summary>
    [Guid ("EE29CC4D-35B5-49db-B0D0-1F2651D062C5"),ComVisible(true)]
	public interface ICmsCoupon : Cephei.QL.Cashflows.IFloatingRateCoupon
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Indexes.ISwapIndex SwapIndex {get;}
    }

    // <summary> 
	// ! \warning This class does not perform any date adjustment, i.e., the start and end date passed upon construction should be already rolled to a business day. Factory
	// </summary>
   	[ComVisible(true)]
    public interface ICmsCoupon_Factory // : Collection_Factory<ICmsCoupon, ICell<ICmsCoupon>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ICmsCoupon Create (DateTime paymentDate, Double nominal, DateTime startDate, DateTime endDate, UInt32 fixingDays, Cephei.QL.Indexes.ISwapIndex index, Microsoft.FSharp.Core.FSharpOption<Double> gearing, Microsoft.FSharp.Core.FSharpOption<Double> spread, Microsoft.FSharp.Core.FSharpOption<DateTime> refPeriodStart, Microsoft.FSharp.Core.FSharpOption<DateTime> refPeriodEnd, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Times.IDayCounter> dayCounter, Microsoft.FSharp.Core.FSharpOption<Boolean> isInArrears, Cephei.QL.Cashflows.IFloatingRateCouponPricer QL_Pricer);
    }
}

